package com.ibeeking.found.content.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName BroadcastCommentDO
 * @Description
 * @Author ibeeking
 * @Date 2022-02-21 16:01
 **/
@Data
@TableName("broadcast_comment")
public class BroadcastCommentDO  extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 会员id(评论人id)
     */
    @TableField(value="member_id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long memberId;

    /**
     * 直播间id
     */
    @TableField(value="room_id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer roomId;

    /**
     * 评论内容
     */
    @TableField(value="content")
    private String content;

    /**
     * 评论是否公开 1-公开 0-隐藏
     */
    @TableField(value="publish_status")
    private Integer publishStatus;


}
